package com.offcn.feign;

import com.offcn.feign.impl.ProviderFeignException;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "nacos-provider",fallback = ProviderFeignException.class)
public interface ProviderFeign {

    @RequestMapping("/hello")
    public String hello();
}
